]> dgit.raspbian.org Git - cargo.git/log
cargo.git
12 years agoRename NameVer -> PackageId
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 23:58:42 +0000 (16:58 -0700)]
Rename NameVer -> PackageId

12 years agoInitial pass at a source collection proxy
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 23:29:25 +0000 (16:29 -0700)]
Initial pass at a source collection proxy

12 years agoIsolate toml code and split up concerns
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 22:46:07 +0000 (15:46 -0700)]
Isolate toml code and split up concerns

12 years agoMove Manifest parsing into its own module
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 21:59:25 +0000 (14:59 -0700)]
Move Manifest parsing into its own module

12 years agoValidate dependency version on parse, not usage
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 21:29:36 +0000 (14:29 -0700)]
Validate dependency version on parse, not usage

12 years agoUpdate to Rust master and eliminate warnings
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 19:32:23 +0000 (12:32 -0700)]
Update to Rust master and eliminate warnings

12 years agoAdd support for detailed manifest dependencies
Yehuda Katz + Carl Lerche [Tue, 10 Jun 2014 00:51:53 +0000 (17:51 -0700)]
Add support for detailed manifest dependencies

This commit supports the following format:

```toml
[dependencies.hamcrest]

version = "1.0"
git = "http://github.com/carllerche/hamcrest-rust"
```

12 years agoTrack master for tests
Yehuda Katz + Carl Lerche [Mon, 9 Jun 2014 20:08:09 +0000 (13:08 -0700)]
Track master for tests

12 years agoTrack upstream rust-toml
Yehuda Katz + Carl Lerche [Mon, 9 Jun 2014 19:37:27 +0000 (12:37 -0700)]
Track upstream rust-toml

12 years agoUpdate to master
Yehuda Katz + Carl Lerche [Mon, 9 Jun 2014 19:28:54 +0000 (12:28 -0700)]
Update to master

12 years agoTrack Rust master
Carl Lerche [Fri, 30 May 2014 23:37:37 +0000 (16:37 -0700)]
Track Rust master

12 years agoBreak up GitSource
Yehuda Katz [Fri, 30 May 2014 03:35:09 +0000 (20:35 -0700)]
Break up GitSource

12 years agoImprove errors slightly
Yehuda Katz [Fri, 30 May 2014 01:11:27 +0000 (18:11 -0700)]
Improve errors slightly

12 years agoUse GitSource in the stub executable
Yehuda Katz [Fri, 30 May 2014 01:02:28 +0000 (18:02 -0700)]
Use GitSource in the stub executable

12 years agoUpdate GitSource
Yehuda Katz [Fri, 30 May 2014 00:49:53 +0000 (17:49 -0700)]
Update GitSource

12 years agoInitial GitSource pass
Yehuda Katz [Thu, 29 May 2014 22:07:07 +0000 (15:07 -0700)]
Initial GitSource pass

12 years agoTests passing again
Yehuda Katz [Thu, 29 May 2014 21:31:09 +0000 (14:31 -0700)]
Tests passing again

12 years agoUp to date with master
Yehuda Katz [Thu, 29 May 2014 21:06:43 +0000 (14:06 -0700)]
Up to date with master

12 years agoUp to date with master
Yehuda Katz [Thu, 29 May 2014 20:57:31 +0000 (13:57 -0700)]
Up to date with master

12 years agoCompile all deps into the root projects target dir
Carl Lerche [Thu, 29 May 2014 00:31:23 +0000 (17:31 -0700)]
Compile all deps into the root projects target dir

12 years agoExplicitly pass root package to ops::package_compile
Carl Lerche [Wed, 28 May 2014 04:01:43 +0000 (21:01 -0700)]
Explicitly pass root package to ops::package_compile

12 years agoRemove unnecessary BasicTerminal
Yehuda Katz [Wed, 28 May 2014 05:06:38 +0000 (22:06 -0700)]
Remove unnecessary BasicTerminal

12 years agoImprove shell and add tests
Yehuda Katz [Wed, 28 May 2014 01:53:30 +0000 (18:53 -0700)]
Improve shell and add tests

12 years agoInitial pass at a Shell
Yehuda Katz [Wed, 28 May 2014 01:33:06 +0000 (18:33 -0700)]
Initial pass at a Shell

12 years agoExtra log output + polish rough edges
Carl Lerche [Wed, 28 May 2014 00:21:28 +0000 (17:21 -0700)]
Extra log output + polish rough edges

12 years agoStart adding a shell abstraction
Yehuda Katz [Tue, 27 May 2014 23:47:04 +0000 (16:47 -0700)]
Start adding a shell abstraction

12 years agoTrack rust master
Carl Lerche [Tue, 27 May 2014 23:14:34 +0000 (16:14 -0700)]
Track rust master

12 years agoMore log output
Carl Lerche [Thu, 22 May 2014 21:50:11 +0000 (14:50 -0700)]
More log output

12 years agoGit now fetches DBs and clones repos from them
Yehuda Katz [Mon, 26 May 2014 22:48:11 +0000 (15:48 -0700)]
Git now fetches DBs and clones repos from them

12 years agoAdd support for updating git repos
Yehuda Katz [Mon, 26 May 2014 20:54:24 +0000 (13:54 -0700)]
Add support for updating git repos

12 years agoUp to date with master (StrBuf->String)
Yehuda Katz [Mon, 26 May 2014 18:52:33 +0000 (11:52 -0700)]
Up to date with master (StrBuf->String)

12 years agoRe-export op fns in cargo::ops
Carl Lerche [Thu, 22 May 2014 21:26:36 +0000 (14:26 -0700)]
Re-export op fns in cargo::ops

12 years agoStart adding logging in cargo command
Carl Lerche [Thu, 22 May 2014 21:03:56 +0000 (14:03 -0700)]
Start adding logging in cargo command

12 years agoFix Makefile
Carl Lerche [Thu, 22 May 2014 20:05:57 +0000 (13:05 -0700)]
Fix Makefile

12 years agoA few updates to GitSource
Yehuda Katz [Thu, 22 May 2014 19:52:49 +0000 (12:52 -0700)]
A few updates to GitSource

12 years agoInitial work on the git source
Yehuda Katz [Thu, 22 May 2014 00:53:05 +0000 (17:53 -0700)]
Initial work on the git source

12 years agoRemove traces of ~str
Yehuda Katz [Tue, 20 May 2014 06:14:49 +0000 (23:14 -0700)]
Remove traces of ~str

12 years agoUpdate to Rust master
Yehuda Katz [Tue, 20 May 2014 05:40:50 +0000 (22:40 -0700)]
Update to Rust master

12 years agoRename cargo/mod.rs -> cargo/lib.rs
Carl Lerche [Tue, 13 May 2014 21:11:00 +0000 (14:11 -0700)]
Rename cargo/mod.rs -> cargo/lib.rs

12 years agoStart integrating VersionReq
Carl Lerche [Tue, 13 May 2014 19:52:13 +0000 (12:52 -0700)]
Start integrating VersionReq

12 years agoWrote more integration tests for cargo compile
Yehuda Katz [Tue, 13 May 2014 00:33:13 +0000 (17:33 -0700)]
Wrote more integration tests for cargo compile

At the moment, the rustc exec for the root project inherits the stdout
and stderr FDs (so that warnings and errors flow through), but
output from dependencies is only emitted if the compilation fails to
avoid warning noise from dependencies.

12 years agoInitial pass at VersionReq
Carl Lerche [Sat, 10 May 2014 21:16:12 +0000 (14:16 -0700)]
Initial pass at VersionReq

12 years agoMore tests for error cases in compile
Yehuda Katz [Fri, 9 May 2014 23:57:13 +0000 (16:57 -0700)]
More tests for error cases in compile

Also some refactoring of the error structure. More cleanup work around
human-readable and CLI errors is still required.

12 years agoUp to master
Yehuda Katz [Fri, 9 May 2014 22:01:05 +0000 (15:01 -0700)]
Up to master

12 years agoSwitch important_paths to using result::CargoResult
Carl Lerche [Fri, 9 May 2014 17:29:49 +0000 (10:29 -0700)]
Switch important_paths to using result::CargoResult

12 years agoMark errors as deprecated
Carl Lerche [Fri, 9 May 2014 17:21:36 +0000 (10:21 -0700)]
Mark errors as deprecated

12 years agoMisc cleanup
Carl Lerche [Fri, 9 May 2014 17:10:39 +0000 (10:10 -0700)]
Misc cleanup

12 years agoClean up process DSL in tests
Yehuda Katz [Fri, 9 May 2014 00:50:28 +0000 (17:50 -0700)]
Clean up process DSL in tests

12 years agoAdd Show to ProcessBuilder
Yehuda Katz [Fri, 9 May 2014 00:50:10 +0000 (17:50 -0700)]
Add Show to ProcessBuilder

12 years agoMore work on porting errors
Carl Lerche [Fri, 9 May 2014 00:48:12 +0000 (17:48 -0700)]
More work on porting errors

12 years agoGet nested dependencies working
Yehuda Katz [Thu, 8 May 2014 23:49:58 +0000 (16:49 -0700)]
Get nested dependencies working

12 years agoSupport any bytes container
Yehuda Katz [Thu, 8 May 2014 21:12:38 +0000 (14:12 -0700)]
Support any bytes container

12 years agoStart migrating to new CargoResult
Carl Lerche [Thu, 8 May 2014 20:38:16 +0000 (13:38 -0700)]
Start migrating to new CargoResult

12 years agoGet compile test passing
Yehuda Katz [Thu, 8 May 2014 20:33:04 +0000 (13:33 -0700)]
Get compile test passing

12 years agoCleanup ProcessBuilder
Carl Lerche [Thu, 8 May 2014 20:13:38 +0000 (13:13 -0700)]
Cleanup ProcessBuilder

12 years agoTrack Rust master changes
Carl Lerche [Thu, 8 May 2014 20:10:08 +0000 (13:10 -0700)]
Track Rust master changes

12 years agoMore up to date
Yehuda Katz [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
More up to date

12 years agoUpdate Hamcrest
Carl Lerche [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
Update Hamcrest

12 years agoHave cargo-compile automatically find the root
Yehuda Katz [Wed, 7 May 2014 23:46:43 +0000 (16:46 -0700)]
Have cargo-compile automatically find the root

TODO: Deal with Paths vs. Strings (which come from serialized forms like
flags and manifests)

12 years agoGet cargo-read-manifest working again
Yehuda Katz [Wed, 7 May 2014 23:35:55 +0000 (16:35 -0700)]
Get cargo-read-manifest working again

12 years agoClean up cargo-compile
Yehuda Katz [Wed, 7 May 2014 22:48:43 +0000 (15:48 -0700)]
Clean up cargo-compile

12 years agoMerge pull request #7 from Aeyk/patch-1
Yehuda Katz [Wed, 7 May 2014 22:43:20 +0000 (15:43 -0700)]
Merge pull request #7 from Aeyk/patch-1

Update README.md

12 years agoClean up error messages from config
Yehuda Katz [Wed, 7 May 2014 21:26:40 +0000 (14:26 -0700)]
Clean up error messages from config

12 years agoTest unit tests passing again
Carl Lerche [Wed, 7 May 2014 00:22:55 +0000 (17:22 -0700)]
Test unit tests passing again

12 years agoSource list returns summaries
Carl Lerche [Tue, 6 May 2014 23:24:00 +0000 (16:24 -0700)]
Source list returns summaries

12 years agoComment cleanup
Carl Lerche [Tue, 6 May 2014 05:01:34 +0000 (22:01 -0700)]
Comment cleanup

12 years agoCore struct refactor
Carl Lerche [Tue, 6 May 2014 04:54:49 +0000 (21:54 -0700)]
Core struct refactor

12 years agoAdd some convenience methods
Yehuda Katz [Tue, 6 May 2014 02:46:14 +0000 (19:46 -0700)]
Add some convenience methods

12 years agoBreak apart internal and CLI errors
Yehuda Katz [Tue, 6 May 2014 02:33:07 +0000 (19:33 -0700)]
Break apart internal and CLI errors

The Cargo library now uses internal errors to represent problems, and
the operations convert those errors into CLIErrors, which contain a
user-friendly error message, additional information for verbose mode,
and an exit code.

12 years agoCleanup ProcessBuilder, work towards getting tests passing
Carl Lerche [Mon, 5 May 2014 23:27:43 +0000 (16:27 -0700)]
Cleanup ProcessBuilder, work towards getting tests passing

12 years agoFix a bunch of warnings
Yehuda Katz [Mon, 5 May 2014 21:33:28 +0000 (14:33 -0700)]
Fix a bunch of warnings

12 years agoStart breaking up cargo-compile
Yehuda Katz [Mon, 5 May 2014 18:33:04 +0000 (11:33 -0700)]
Start breaking up cargo-compile

12 years agoBring up to date with Rust master
Yehuda Katz [Mon, 5 May 2014 18:32:49 +0000 (11:32 -0700)]
Bring up to date with Rust master

12 years agocargo-compile delegates to cargo-rustc
Carlhuda [Fri, 2 May 2014 01:14:24 +0000 (18:14 -0700)]
cargo-compile delegates to cargo-rustc

12 years agoLet the resolver return a PackageSet
Yehuda Katz [Fri, 2 May 2014 00:12:07 +0000 (17:12 -0700)]
Let the resolver return a PackageSet

12 years agoMerge branch 'master' of https://github.com/carlhuda/cargo
Yehuda Katz [Fri, 2 May 2014 00:06:39 +0000 (17:06 -0700)]
Merge branch 'master' of https://github.com/carlhuda/cargo

12 years agoCompiling with deps progress
Carl Lerche [Thu, 1 May 2014 22:23:45 +0000 (15:23 -0700)]
Compiling with deps progress

12 years agoUse the resolver to collect packages
Yehuda Katz [Thu, 1 May 2014 19:58:21 +0000 (12:58 -0700)]
Use the resolver to collect packages

12 years agoProgress towards compiling with dependencies
Carl Lerche [Thu, 1 May 2014 19:52:09 +0000 (12:52 -0700)]
Progress towards compiling with dependencies

12 years agoMove package mapping to Source
Yehuda Katz [Thu, 1 May 2014 04:38:45 +0000 (21:38 -0700)]
Move package mapping to Source

12 years agoMap config paths onto Packages
Yehuda Katz [Thu, 1 May 2014 00:13:50 +0000 (17:13 -0700)]
Map config paths onto Packages

TODO: Move this logic into PathSource

12 years agoTopological sort of packages
Carl Lerche [Wed, 30 Apr 2014 20:59:04 +0000 (13:59 -0700)]
Topological sort of packages

12 years agoAPI for SerializedManifest->Manifest and other org
Yehuda Katz [Wed, 30 Apr 2014 22:23:03 +0000 (15:23 -0700)]
API for SerializedManifest->Manifest and other org

Also fleshed out the Package struct.

Setting up to convert a vec of project paths into a vec of Packages to
pass to cargo-rustc.

12 years agoBump rust-toml
Yehuda Katz [Wed, 30 Apr 2014 21:35:11 +0000 (14:35 -0700)]
Bump rust-toml

12 years agoCleanup + topological sort
Carl Lerche [Wed, 30 Apr 2014 20:06:02 +0000 (13:06 -0700)]
Cleanup + topological sort

12 years agoCleanup
Carl Lerche [Wed, 30 Apr 2014 19:58:33 +0000 (12:58 -0700)]
Cleanup

12 years agoFleshed out Package a bit more
Yehuda Katz [Wed, 30 Apr 2014 19:52:50 +0000 (12:52 -0700)]
Fleshed out Package a bit more

12 years agoClean up config and support array inheritance
Yehuda Katz [Tue, 29 Apr 2014 22:24:01 +0000 (15:24 -0700)]
Clean up config and support array inheritance

12 years agoAdd vimrc settings
Yehuda Katz [Tue, 29 Apr 2014 18:43:18 +0000 (11:43 -0700)]
Add vimrc settings

12 years agoAdd Show for PackagePath
Yehuda Katz [Tue, 29 Apr 2014 18:41:03 +0000 (11:41 -0700)]
Add Show for PackagePath

12 years agoEverything's compiling again
Yehuda Katz [Tue, 29 Apr 2014 18:05:01 +0000 (11:05 -0700)]
Everything's compiling again

12 years agoBump submodules
Yehuda Katz [Tue, 29 Apr 2014 17:54:30 +0000 (10:54 -0700)]
Bump submodules

12 years agoStart pulling out the configured paths
Carlhuda [Sat, 19 Apr 2014 01:07:51 +0000 (18:07 -0700)]
Start pulling out the configured paths

12 years agoRestructure and progress towards simple compile
Carlhuda [Sat, 19 Apr 2014 00:23:07 +0000 (17:23 -0700)]
Restructure and progress towards simple compile

For now, we're going to use the operations as a library. We have some
work to do before they can transparently be used as commands, but we're
keeping an eye on making sure they remain conceptually usable over the
shell.

12 years agoWIP
Carlhuda [Sat, 12 Apr 2014 00:39:18 +0000 (17:39 -0700)]
WIP

12 years agoUpdate README.md
aeyk [Sat, 12 Apr 2014 00:23:20 +0000 (20:23 -0400)]
Update README.md

Removed comment about make install as no install directive, added --recursive tag

12 years agoAdd a resolving test
Carlhuda [Fri, 11 Apr 2014 23:01:33 +0000 (16:01 -0700)]
Add a resolving test

12 years agoAdd transitive dependencies to the resolver
Carlhuda [Fri, 11 Apr 2014 22:55:47 +0000 (15:55 -0700)]
Add transitive dependencies to the resolver

12 years agoWhitespace
Carlhuda [Fri, 11 Apr 2014 22:14:37 +0000 (15:14 -0700)]
Whitespace

12 years agoBeginnings of a dependency resolver
Carl Lerche [Thu, 10 Apr 2014 01:07:47 +0000 (18:07 -0700)]
Beginnings of a dependency resolver